package com.neusoft.tijian.controller;

import com.neusoft.tijian.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.neusoft.tijian.po.Users;


@RestController
@RequestMapping("/user")
public class UsersController {
	@Autowired
	private UsersService usersService;

	@PostMapping("/login")
	public Users getUsersByUserIdByPass(Users users) {
		System.out.println(users);
		return usersService.getUsersByUserIdByPass(users);

	}
}
